package com.hybs.dao;/*
 * @author: Hayabusa
 * @date: 2021/9/14 22:07
 * @Description:接口继承
 * @Email:2682557218@qq.com
 */

import com.hybs.entity.Product;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
//对象主键类型Long
public interface ProductDao extends JpaRepository<Product,Long>, JpaSpecificationExecutor<Product> {

//    实现JpaRepository和JpaSpecificationExecutor自动实现增删改查
}
